package cn.tedu.medicalmanagementsystem.manager.service;

import cn.tedu.medicalmanagementsystem.manager.pojo.dto.AppointmentAddParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.AppointmentDelParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.AppointmentListQuery;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.AppointmentUpdateParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.vo.AppointmentVO;

import java.util.List;

public interface ManagerAppointmentService {
    AppointmentVO add(AppointmentAddParam addParam);
    AppointmentVO update(AppointmentUpdateParam appointmentUpdateParam);
    int delete(AppointmentDelParam appointmentDelParam);

    //  查询所有预约记录
    List<AppointmentVO> allAppointments();

    List<AppointmentVO> getByUserId(Long userId);

    AppointmentVO getById(Long id);

    List<AppointmentVO> getByRealName(String realName);

    List<AppointmentVO> select(AppointmentListQuery appointmentListQuery);

    List<AppointmentVO> getByContactRealName(String contactName);
}
